home *** CD-ROM | disk | FTP | other *** search
/ Aminet 50 / Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso / Aminet / text / edit / tecoc-146.lha / exebar.c < prev    next >
C/C++ Source or Header  |  1991-07-05  |  824b  |  32 lines

  1. /*****************************************************************************
  2.  
  3.     ExeBar()
  4.  
  5.     This function executes a | (vertical bar) command.
  6.     |    Start ELSE part of conditional
  7.  
  8. *****************************************************************************/
  9.  
  10. #include "zport.h"        /* define portability identifiers */
  11. #include "tecoc.h"        /* define general identifiers */
  12. #include "defext.h"        /* define external global variables */
  13. #include "deferr.h"        /* define identifiers for error messages */
  14.  
  15.  
  16. DEFAULT ExeBar()        /* execute | (vertical bar) command */
  17. {
  18.     DBGFEN(1,"ExeBar",NULL);
  19.  
  20.     if (FlowEC() == FAILURE) {        /* flow to ' */
  21.         DBGFEX(1,DbgFNm,"FAILURE");
  22.         return FAILURE;
  23.     }
  24.  
  25.     CmdMod = '\0';                /* clear modifiers flags */
  26.     EStTop = EStBot;            /* clear expression stack */
  27.  
  28.     DBGFEX(1,DbgFNm,"SUCCESS");
  29.  
  30.     return SUCCESS;
  31. }
  32.